wayland: Disconnect the frame callback when hiding
authorBenjamin Otte <otte@redhat.com>
Fri, 28 Apr 2023 20:21:42 +0000 (22:21 +0200)
committerBenjamin Otte <otte@redhat.com>
Fri, 28 Apr 2023 20:21:42 +0000 (22:21 +0200)
commit45216e1c88285e526db825a80ccba957d4fd3533
tree8cd39867b8429c15a15bd6e8d2c82b536c154640
parent76777cdd1801b450a0ba5fb6d8147045d888c866
wayland: Disconnect the frame callback when hiding

Do not leave spurious frame callbacks around wen hiding surfaces.
Instead, store the callback and remove it.
gdk/wayland/gdksurface-wayland-private.h
gdk/wayland/gdksurface-wayland.c